package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductVersionScopeDAO extends IDataAccessInterface<ProductVersionScope, ProductVersionScopeDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_VERSION_SCOPE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_VERSION_SCOPE.ID";

    /**
     * Mapped Field PRODUCT_VERSION_ID
    */
    static final String ProductVersionId = "PRODUCT_VERSION_SCOPE.PRODUCT_VERSION_ID";

    /**
     * Mapped Field SCOPE_NAME
    */
    static final String ScopeName = "PRODUCT_VERSION_SCOPE.SCOPE_NAME";

    /**
     * Mapped Field SCOPE_PRIORITY
    */
    static final String ScopePriority = "PRODUCT_VERSION_SCOPE.SCOPE_PRIORITY";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_VERSION_SCOPE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_VERSION_SCOPE.REMARKS";

    /**
     * Mapped Attribute productVersionName
    */
    static final String ProductVersionName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionDAO.ProductVersion,
            com.ourteam.product.requirement.dao.IProductVersionDAO.EntityName +
            ".", "PRODUCT_VERSION.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductVersionScope findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productVersionId
         */
        static final String ProductVersionId = "productVersionId";

        /**
         * Attribute scopeName
         */
        static final String ScopeName = "scopeName";

        /**
         * Attribute scopePriority
         */
        static final String ScopePriority = "scopePriority";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute productVersionName
         */
        static final String ProductVersionName = "productVersionName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
